﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace AHCS
{
    public partial class ExportOptioncs : Form
    {
        public ExportOptioncs()
        {
            InitializeComponent();
        }

        public int ExportType;

        private void button1_Click(object sender, EventArgs e)
        {
            if (radioButton1.Checked)
            {
                ExportType = 1;
            }
            else if (radioButton2.Checked)
            {
                ExportType = 2;

            }
            else if (radioButton3.Checked)
            {
                ExportType = 3;

            }
            else if (radioButton4.Checked)
            {
                ExportType = 4;

            }
            else if (radioButton5.Checked)
            {
                ExportType = 5;

            }
            else if (radioButton6.Checked)
            {
                ExportType = 6;

            } 
            this.DialogResult = DialogResult.OK;
        }


        private void ExportOptioncs_Load(object sender, EventArgs e)
        {
            ExportType = 0;
        }
    }
}
